<div class="wrap">
<h2>
	Konfiguration Verwaltung
</h2>
{if $resp_message == null}
	<div id="ajaxResponse1" class="ajaxResponse"></div>
{else}
	<div id="ajaxResponse1" class="ajaxResponse fade" style="display:block">{$resp_message}</div>
{/if}
	<form name="updateconfigdata" id="updateconfigdata" method="post" action="?module={$smarty.get.module}">
		<input type="hidden" name="act" value="updateconfigdata" />
		<table class="editform" width="50%" align="center" cellpadding="5">
			<tr>
				<th width="33%" scope="row" valign="top"><label for="config_key">Schl&uuml;ssel</label></th>
				<th width="67%"><label for="config_value">Wert</label></th>
			</tr>
			{foreach name=configdata from=$CONFIGDATA item=item}
			       <tr>
			       		   <input type="hidden" name="{$item->config_key}" value="{$item->config_key}" />
			               <th width="33%" scope="row" valign="top"><label for="config_key">{$item->config_key}</label></th>
					       <td width="67%">
                           {if $item->config_key eq 'FONT_FAMILY'}
                           <select  name="config_value_{$item->config_key}" id="config_value_{$item->config_key}">
                           		<option value="Arial, Helvetica, sans-serif" {if $item->value eq 'Arial, Helvetica, sans-serif'} selected="selected"{/if}>Arial, Helvetica, sans-serif</option>	
                                <option value="Times New Roman, Times, serif" {if $item->value eq 'Times New Roman, Times, serif'} selected="selected"{/if}>Times New Roman, Times, serif</option>	
                                <option value="Courier New, Courier, monospace" {if $item->value eq 'Courier New, Courier, monospace'} selected="selected"{/if}>Courier New, Courier, monospace</option>	
                                <option value="Georgia, Times New Roman, Times, serif" {if $item->value eq 'Georgia, Times New Roman, Times, serif'} selected="selected"{/if}>Georgia, Times New Roman, Times, serif</option>	
                                <option value="Verdana, Arial, Helvetica, sans-serif" {if $item->value eq 'Verdana, Arial, Helvetica, sans-serif'} selected="selected"{/if}>Verdana, Arial, Helvetica, sans-serif</option>
                                <option value="Geneva, Arial, Helvetica, sans-serif" {if $item->value eq 'Geneva, Arial, Helvetica, sans-serif'} selected="selected"{/if}>Geneva, Arial, Helvetica, sans-serif</option>	
								<option value="Andale mono,times" {if $item->value eq 'Andale mono,times'} selected="selected"{/if}>Andale mono,times</option>	
								<option value="Arial,helvetica,sans-serif" {if $item->value eq 'Arial,helvetica,sans-serif'} selected="selected"{/if}>Arial,helvetica,sans-serif</option>
								<option value="Arial black,avant garde" {if $item->value eq 'Arial black,avant garde'} selected="selected"{/if}>Arial black,avant garde</option>
								<option value="Book antiqua,palatino" {if $item->value eq 'Book antiqua,palatino'} selected="selected"{/if}>Book antiqua,palatino</option>
								<option value="Comic sans ms,sans-serif" {if $item->value eq 'Comic sans ms,sans-serif'} selected="selected"{/if}>Comic sans ms,sans-serif</option>
								<option value="Courier new,courier" {if $item->value eq 'Courier new,courier'} selected="selected"{/if}>Courier new,courier</option>
								<option value="Georgia,palatino" {if $item->value eq 'Georgia,palatino'} selected="selected"{/if}>Georgia,palatino</option>
								<option value="Helvetica" {if $item->value eq 'Helvetica'} selected="selected"{/if}>Helvetica</option>
								<option value="Impact,chicago" {if $item->value eq 'Impact,chicago'} selected="selected"{/if}>Impact,chicago</option>
								<option value="Symbol" {if $item->value eq 'Symbol'} selected="selected"{/if}>Symbol</option>
								<option value="Tahoma,arial,helvetica,sans-serif" {if $item->value eq 'Tahoma,arial,helvetica,sans-serif'} selected="selected"{/if}>Tahoma,arial,helvetica,sans-serif</option>
								<option value="Terminal,monaco" {if $item->value eq 'Terminal,monaco'} selected="selected"{/if}>Terminal,monaco</option>
								<option value="Times new roman,times" {if $item->value eq 'Times new roman,times'} selected="selected"{/if}>Times new roman,times</option>
								<option value="Trebuchet ms,geneva" {if $item->value eq 'Trebuchet ms,geneva'} selected="selected"{/if}>Trebuchet ms,geneva</option>
								<option value="Verdana,geneva" {if $item->value eq 'Verdana,geneva'} selected="selected"{/if}>Verdana,geneva</option>
								<option value="Webdings" {if $item->value eq 'Webdings'} selected="selected"{/if}>Webdings</option>
								<option value="Wingdings,zapf dingbats" {if $item->value eq 'Wingdings,zapf dingbats'} selected="selected"{/if}>Wingdings,zapf dingbats</option>
                           </select>
                           {else}
                           <input name="config_value_{$item->config_key}" id="config_value_{$item->config_key}" type="text" value="{$item->value}" size="100" maxlength="100"/>
                           {/if}
                           </td>
			       </tr>
			{/foreach}
			<tr>
				<td width="67%" colspan="2"  class="submit" align="right">
					<input type="image" name="submit" src="../view/admin/images/object_save.png" value="" />
				</td>
			</tr>
		</table>
	</form>

</div>
